package com.intellagric.service.traceability.trace_record;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.RecordMachiningVo;
import com.intellagric.pojo.TraceRecordCheck;
import com.intellagric.pojo.TraceRecordMachining;

/**
 * @Author: wl
 * @email: 844406720@qq.com
 * @Date: 2018/11/09
 * @DESC： 加工流程记录服务接口
 */
public interface MachiningRecordService {

    //增加加工流程记录
    ResponseMessage addMachiningRecord(TraceRecordMachining recordMachining);

    //删除加工流程记录
    ResponseMessage deleteIMachiningRecord(String id);

    //修改加工流程记录
    ResponseMessage editMachiningRecord(TraceRecordMachining recordMachining);

    //查询加工流程记录
    TraceRecordMachining getMachiningRecordById(String id);
    LayuiDataGridResult getMachiningRecordList();
    LayuiDataGridResult getMachiningRecordPage(int page, int rows);
    LayuiDataGridResult getMachiningRecordPageByVo(int page, int rows, RecordMachiningVo recordMachiningVo);


}
